package com.ucenter.auth.api;

import com.ucenter.auth.common.model.response.ResponseResult;
import com.ucenter.auth.domain.ucenter.request.LoginRequest;
import com.ucenter.auth.domain.ucenter.response.JwtResult;
import com.ucenter.auth.domain.ucenter.response.LoginResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @PackageName: com.ucenter.auth.api
 * @author: youjp
 * @create: 2020-12-09 10:23
 * @description: 用户认证接口
 * @Version: 1.0
 */
@Api(value = "用户认证",description = "用户认证接口")
public interface AuthControllerApi {

    @ApiOperation("登录")
    public LoginResult login(LoginRequest loginRequest);

    @ApiOperation("退出")
    public ResponseResult logout();

    @ApiOperation("查询用户jwt令牌")
    public JwtResult userjwt();

}
